package com.bruce.service;


import com.bruce.model.Role;
import com.bruce.model.UserRole;
import com.github.pagehelper.PageInfo;

public interface UserRoleService {
	int insert(UserRole impl); 

	int update(UserRole impl); 

	PageInfo<UserRole> selectByUid(UserRole impl, int pageNum, int pageSize);
	
	int delete(int uid, int rid);
	
	boolean isUser(int userid);
	
	Role getRoleByRole(int uid);
}
